*{
    margin: 0;
    padding: 0;
    list-style: none;
}

.container{
    width: 500px;
    /* background-color: aqua; */
    margin: 0 auto;
}

.container>ul{ 
    padding: 5px;
}

.container>ul>li{
    margin-bottom: 10px;
}

.container>ul li>img{
    width: 18%;
}

.line{
    width: 80%;
    height: 100%;
    border-bottom: 1px solid #ccc;
    float: right;
}

.details{
    width: 320px;
    float: left;
    /* background-color: red; */
}

.details>div{
    height: 20px;
    line-height: 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.details h2{
    float: left;
    margin-right: 8px;
}

.details ul{ 
    float: right;
    font-size: 12px;
    border: 1px solid rgb(70, 160, 196);
    background-color: rgb(70, 160, 196);
    border-radius: 5px;
    overflow: hidden;
}

.details>div ul li{
    float: left;
    text-align: center;
    padding: 0px 5px;
    color: white;
}

.details>div ul li:nth-child(2){
    background-color: white;
    color: rgb(70, 160, 196);
}

.details>p{
    color: #888;
    margin: 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.details>p>span{
    color: orange;
    margin: 4px 0;
}

.btn-box{
    height: 125px;
    line-height: 125px;
}

.btn-box button{
    width: 65px;
    height: 35px;
    color: white;
    background-color: #dd4f4f;
    border: none;
    border-radius: 35px;;
}